﻿using Ducu.BLL.Entity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Ducu.BLL.NHMap
{
    class HistoryItemMap : EntityMap<HistoryItem>
    {
        public HistoryItemMap()
        {
            Map(m => m.MyComment).Length(Constant.Length_Limitless);
            References(m => m.Task);
            Map(m => m.Status);
            References(m => m.Executor).ForeignKey("FK_Accept_Executor");
        }
    }
}
